package com.yc.grpc.proxy;

import com.yc.grpc.host.AbstractGrpcHost;

/**
 * @Author: ZhouJianLong
 * @Date: 2024/07/22/11:37
 * @Description:
 */
public class BeanInfo {
    private String beanName;
    private Class<?> rpcInterface;
    private AbstractGrpcHost abstractGrpcHost;

    public BeanInfo(String beanName, Class<?> rpcInterface, AbstractGrpcHost abstractGrpcHost) {
        this.beanName = beanName;
        this.rpcInterface = rpcInterface;
        this.abstractGrpcHost = abstractGrpcHost;
    }

    public AbstractGrpcHost getAbstractGrpcHost() {
        return abstractGrpcHost;
    }

    public void setAbstractGrpcHost(AbstractGrpcHost abstractGrpcHost) {
        this.abstractGrpcHost = abstractGrpcHost;
    }

    public String getBeanName() {
        return beanName;
    }

    public void setBeanName(String beanName) {
        this.beanName = beanName;
    }

    public Class<?> getRpcInterface() {
        return rpcInterface;
    }

    public void setRpcInterface(Class<?> rpcInterface) {
        this.rpcInterface = rpcInterface;
    }
}
